﻿<tabset class="setting-lottery" stop-input-propagation justified="true"
        ng-class="{'single-tab': !selectedElemDef}">
    <tab heading="抽奖">
        <div>
            <div class="div-iframe">
                <iframe class="iframe-lottery" name="iframemap" frameborder=0 scrolling=no
                        height="530px;" src="/activitys/lottery.aspx?Scene=' + window.location.href.split("
                        ? ")[0].split(" />
                ")[6] + '">
                </iframe>
            </div>
            <div class="modal-footer hidden" id="lottery_footer">
                <a class="btn-main login" style="width: 88px;" ng-click="confirm()">
                    确定
                </a>
                <a class="btn-grey0 cancel" style="width: 88px;" ng-click="cancel()">
                    取消
                </a>
            </div>
            <script>
                var _lotteryConfirm = function () {
                    $("#lottery_footer .login").trigger("click")
                };
                var _lotteryCancel = function () {
                    $("#lottery_footer .cancel").trigger("click")
                };
            </script>
        </div>
    </tab>
    <tab ng-show="selectedElemDef" select="activeTab = 'style'" heading="样式">
        <div id="comp_setting">
            <div class="style_content" ng-include="'scene/console/style.tpl.html'">
            </div>
        </div>
    </tab>
    <tab ng-show="selectedElemDef" select="activeTab = 'anim'" heading="动画">
        <div id="comp_setting">
            <div class="style_content" ng-include="'scene/console/anim.tpl.html'">
            </div>
        </div>
    </tab>
</tabset>